Title Banner

Previous Book Contents Book Index Next

Inside Macintosh: /
QuickDraw 3D RAVE / QuickDraw 3D RAVE Reference
QuickDraw 3D RAVE Routines / Manipulating Draw Contexts


QADrawBitmap

You can use the QADrawBitmap function to draw bitmaps into a draw context.

#define QADrawBitmap(drawContext,v,bitmap) \
               (drawContext)->drawBitmap (drawContext,v,bitmap)
drawContext
A draw context.
v
A Gouraud vertex.
bitmap
A pointer to a bitmap (returned by a previous call to QABitmapNew).
DESCRIPTION
The QADrawBitmap function draws the bitmap specified by the bitmap parameter into the draw context specified by the drawContext parameter, with the upper-left corner of the bitmap located at the point specified by the v parameter. The v parameter can contain negative values in its x or y fields, so you can position upper-left corner of the bitmap outside the draw context rectangle. This allows you to move the bitmap smoothly off any edge of the draw context.


Previous Book Contents Book Index Next

© Apple Computer, Inc.
28 AUG 1996




Navigation graphic, see text links

Main | Page One | What's New | Apple Computer, Inc. | Find It | Contact Us | Help